import firebase from 'firebase'
import firestore from 'firebase/firebase'
const firebaseConfig = {
    apiKey: "AIzaSyDcH1ltPvKrtn-5mV5R71s9YbxYLGblisA",
    authDomain: "geo-ninjas-3e459.firebaseapp.com",
    databaseURL: "https://geo-ninjas-3e459.firebaseio.com",
    projectId: "geo-ninjas-3e459",
    storageBucket: "geo-ninjas-3e459.appspot.com",
    messagingSenderId: "559372479315",
    appId: "1:559372479315:web:4b083e6e5b94e868928fa6"
};

const firebaseApp = firebase.initializeApp(firebaseConfig);

//firebase.analytics();

//firebaseApp.firestore().settings({timestampsInSnapshots:true})

export default firebaseApp.firestore()